import request from '@/util/request'

export const Login = (name:string, password:string) => {
  return request({
    method: 'POST',
    url: '/users/login',
    data: {
      name,
      password
    }
  })
}
